#include <stdio.h>
 
int main(void){
    int num=100;
    int *ptr = &num;
    printf("num:%d\n",num);
    printf("&num:%p\n",&num);
    printf("ptr:%p\n",ptr);
    printf("&ptr:%p\n",&ptr);
    printf("*ptr:%d\n",*ptr);

    return 0;
}